package com.awesome.javademo.threads.lock.concurrent;

import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.atomic.AtomicReference;

/**
 * Author: zhangjingfang
 * Email:zhangjingfang@jeejio.com
 * Date: 2021/8/11 8:03 上午
 * Description:原子性操作的类
 */
public class Atomic {
    // 这些原子类，仅供开发并发工具的系统程序员使用，应用程序猿不应该使用这些类
    private AtomicInteger mAtomicInteger = new AtomicInteger();
    private AtomicBoolean mAtomicBoolean = new AtomicBoolean();
    private AtomicLong mAtomicLong = new AtomicLong();
    private AtomicReference mAtomicReference = new AtomicReference();
}